// app.js
App({
  onLaunch: function () {
    console.log('甜点食谱小程序启动')
  },
  
  onShow: function () {
    console.log('App Show')
  },
  
  onHide: function () {
    console.log('App Hide')
  },
  
  globalData: {
    userInfo: null,
    defaultImage: '',
    emptyImage: '',
    errorImage: ''
  }
})
